package com.rxyb.upms.gate.enums;

import com.rxyb.core.respone.IBaseCode;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/5/21  16:10
 */
public enum RspCode implements IBaseCode {

    U1000("U1000", "当前系统未查询用户信息");

    private final String code;
    private final String msg;

    RspCode(final String code, final String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 错误编码 -1、失败 0、成功
     */
    @Override
    public String getCode() {
        return code;
    }

    /**
     * 错误描述
     */
    @Override
    public String getMsg() {
        return msg;
    }
}
